package com.nidu.demo.oauth2.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "OAuth2客户端修改对象")
@EqualsAndHashCode(callSuper = true)
public class OAuth2ClientUpdateCmd extends OAuth2ClientAddCmd {

    /**
     * OAuth2客户端ID
     */
    @NotNull(message = "OAuth2客户端ID不能为空")
    @Schema(description = "OAuth2客户端ID", example = "1")
    private Long id;
}
